<?php

/* @var $this yii\web\View */

use yii\helpers\Html;

$this->title = 'About';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-about" id="app">
    <div class="row">
        <div class="col-lg-12">
            {{message}}
        </div>
    </div>
    <h1><?= Html::encode($this->title) ?></h1>

    <p>This is the About page. You may modify the following file to customize its content:</p>

    <code><?= __FILE__ ?></code>
</div>

<?php \common\components\widgets\JsBlock::begin(); ?>
    <script>
        var app = new Vue({
            el: "#app",
            data: {
                message: "<?=$this->title ?>",
                test: {
                    x: "1",
                    y: "1",
                    z: "1"
                }
            }
        });
        _log(app.test);
    </script>
<?php \common\components\widgets\JsBlock::end(); ?>